package com.baomidou.springboot.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
@TableName("sys_user")
public class SysUser extends Model<User>{
	private static final long serialVersionUID = 1L;
	/** 主键ID */
	@TableId(value = "id")
	String id;
	String roleId;
	String userName;
	String password;
	String name;
	String phone;
	String email;
	String createTime;
	String lastTime;
	Integer status;

	
	public SysUser() {
		super();
	}

	public SysUser(String id, String roleId, String userName, String password,
			String name, String phone, String email, String createTime,
			String lastTime, Integer status) {
		super();
		this.id = id;
		this.roleId = roleId;
		this.userName = userName;
		this.password = password;
		this.name = name;
		this.phone = phone;
		this.email = email;
		this.createTime = createTime;
		this.lastTime = lastTime;
		this.status = status;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getLastTime() {
		return lastTime;
	}

	public void setLastTime(String lastTime) {
		this.lastTime = lastTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		 
		return id;
	}

}
